\hypertarget{class_meteor_shower}{
\section{MeteorShower Class Reference}
\label{class_meteor_shower}\index{MeteorShower@{MeteorShower}}
}


Meteor shower game object.  


Inheritance diagram for MeteorShower:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_meteor_shower}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_meteor_shower_a81b86d2d93e6508aeeed16180a746228}{MeteorShower} (int, bool, FPtype, FPtype, FPtype)
\begin{DoxyCompactList}\small\item\em Constructs meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a179cea43620b59261dacd2191d63434c}{
\hyperlink{class_meteor_shower_a179cea43620b59261dacd2191d63434c}{$\sim$MeteorShower} ()}
\label{class_meteor_shower_a179cea43620b59261dacd2191d63434c}

\begin{DoxyCompactList}\small\item\em Destructor of the meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a764c3f6163b826659d4ed725ad4f0ca3}{
FPtype \hyperlink{class_meteor_shower_a764c3f6163b826659d4ed725ad4f0ca3}{getRadius} (FPtype) const }
\label{class_meteor_shower_a764c3f6163b826659d4ed725ad4f0ca3}

\begin{DoxyCompactList}\small\item\em Gets radius of the meteor shower at {\itshape currentTime\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_ab73695895bd1632d965c7f596e7eae4c}{
void \hyperlink{class_meteor_shower_ab73695895bd1632d965c7f596e7eae4c}{storeRadius} (FPtype)}
\label{class_meteor_shower_ab73695895bd1632d965c7f596e7eae4c}

\begin{DoxyCompactList}\small\item\em Stores radius of the meteor shower at {\itshape currentTime\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_af4ae763d2de8020ac1bbf6fa624676a3}{
void \hyperlink{class_meteor_shower_af4ae763d2de8020ac1bbf6fa624676a3}{animate} (FPtype)}
\label{class_meteor_shower_af4ae763d2de8020ac1bbf6fa624676a3}

\begin{DoxyCompactList}\small\item\em Animates the meteor shower at {\itshape currentTime\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_ab02d2988c98f95e45b802ee201f35880}{
GLfloat $\ast$ \hyperlink{class_meteor_shower_ab02d2988c98f95e45b802ee201f35880}{vertexArray} ()}
\label{class_meteor_shower_ab02d2988c98f95e45b802ee201f35880}

\begin{DoxyCompactList}\small\item\em Gets vertex array for meteors. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a223ce0ab4b200ada305b5c9ca8519d14}{
GLfloat $\ast$ \hyperlink{class_meteor_shower_a223ce0ab4b200ada305b5c9ca8519d14}{colorArray} ()}
\label{class_meteor_shower_a223ce0ab4b200ada305b5c9ca8519d14}

\begin{DoxyCompactList}\small\item\em Gets color array for meteors. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a3131be5c1bbfe2799a83b0d60e8aa029}{
int \hyperlink{class_meteor_shower_a3131be5c1bbfe2799a83b0d60e8aa029}{numVertices} () const }
\label{class_meteor_shower_a3131be5c1bbfe2799a83b0d60e8aa029}

\begin{DoxyCompactList}\small\item\em Gets number of vertixes for meteors. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_af3689129bb87942ae73d492a43b1f951}{
void \hyperlink{class_meteor_shower_af3689129bb87942ae73d492a43b1f951}{setStartAndCenterPositions} (const FPtype $\ast$, const FPtype $\ast$)}
\label{class_meteor_shower_af3689129bb87942ae73d492a43b1f951}

\begin{DoxyCompactList}\small\item\em Sets positions for meteor shover. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a57e690361179f10c6b618ce69fc8302c}{
bool \hyperlink{class_meteor_shower_a57e690361179f10c6b618ce69fc8302c}{centerPointPassed} ()}
\label{class_meteor_shower_a57e690361179f10c6b618ce69fc8302c}

\begin{DoxyCompactList}\small\item\em Has the meteor shower passed the center point of it's course. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_meteor_shower_a0632b5a1b90eb575c14104f84ac84ef4}{
FPtype \hyperlink{class_meteor_shower_a0632b5a1b90eb575c14104f84ac84ef4}{startTime}}
\label{class_meteor_shower_a0632b5a1b90eb575c14104f84ac84ef4}

\begin{DoxyCompactList}\small\item\em Start time of the meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a41875e227d05222f21fca1f82eba7ec9}{
FPtype \hyperlink{class_meteor_shower_a41875e227d05222f21fca1f82eba7ec9}{startRadius}}
\label{class_meteor_shower_a41875e227d05222f21fca1f82eba7ec9}

\begin{DoxyCompactList}\small\item\em Start radius of the meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_af8908ae1b05bf4919f13a175b99cccc9}{
FPtype \hyperlink{class_meteor_shower_af8908ae1b05bf4919f13a175b99cccc9}{radiusChange}}
\label{class_meteor_shower_af8908ae1b05bf4919f13a175b99cccc9}

\begin{DoxyCompactList}\small\item\em Radius change of the meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a6dc4bd75da0cad9ffc6818d7bb59501d}{
FPtype $\ast$ \hyperlink{class_meteor_shower_a6dc4bd75da0cad9ffc6818d7bb59501d}{relativePositionX}}
\label{class_meteor_shower_a6dc4bd75da0cad9ffc6818d7bb59501d}

\begin{DoxyCompactList}\small\item\em X Position of each meteor. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a7b352ad34acdeea4fefef02dda1125cc}{
FPtype $\ast$ \hyperlink{class_meteor_shower_a7b352ad34acdeea4fefef02dda1125cc}{relativePositionY}}
\label{class_meteor_shower_a7b352ad34acdeea4fefef02dda1125cc}

\begin{DoxyCompactList}\small\item\em Y Position of each meteor. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a0ee1d382d1eee989c786464c604a96a8}{
FPtype $\ast$ \hyperlink{class_meteor_shower_a0ee1d382d1eee989c786464c604a96a8}{angularVelocity}}
\label{class_meteor_shower_a0ee1d382d1eee989c786464c604a96a8}

\begin{DoxyCompactList}\small\item\em Angular velocity of each meteor. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_ab7c5bcc2dd7ac88dd99ed3d99a297d46}{
GLfloat $\ast$ \hyperlink{class_meteor_shower_ab7c5bcc2dd7ac88dd99ed3d99a297d46}{vertices}}
\label{class_meteor_shower_ab7c5bcc2dd7ac88dd99ed3d99a297d46}

\begin{DoxyCompactList}\small\item\em Vertices of meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a150a12ae631374fddc0209599103a3d9}{
GLfloat $\ast$ \hyperlink{class_meteor_shower_a150a12ae631374fddc0209599103a3d9}{colors}}
\label{class_meteor_shower_a150a12ae631374fddc0209599103a3d9}

\begin{DoxyCompactList}\small\item\em Colors of meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a100013b1990448dd80fdece31cbe4ca4}{
GLfloat \hyperlink{class_meteor_shower_a100013b1990448dd80fdece31cbe4ca4}{centerX}}
\label{class_meteor_shower_a100013b1990448dd80fdece31cbe4ca4}

\begin{DoxyCompactList}\small\item\em Center X position of meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_aed6862a8dbe1eaa250fb900c3306dc87}{
GLfloat \hyperlink{class_meteor_shower_aed6862a8dbe1eaa250fb900c3306dc87}{centerY}}
\label{class_meteor_shower_aed6862a8dbe1eaa250fb900c3306dc87}

\begin{DoxyCompactList}\small\item\em Center Y position of meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a30b14fdfc46006f2cb76f5dc3844d328}{
GLfloat \hyperlink{class_meteor_shower_a30b14fdfc46006f2cb76f5dc3844d328}{vectorCenterToStartX}}
\label{class_meteor_shower_a30b14fdfc46006f2cb76f5dc3844d328}

\begin{DoxyCompactList}\small\item\em Vector from center point of meteor shower to starting X point at the movement of meteor shower. \item\end{DoxyCompactList}\item 
\hypertarget{class_meteor_shower_a586cd56c2b42f1ef0f7c7677fd002fce}{
GLfloat \hyperlink{class_meteor_shower_a586cd56c2b42f1ef0f7c7677fd002fce}{vectorCenterToStartY}}
\label{class_meteor_shower_a586cd56c2b42f1ef0f7c7677fd002fce}

\begin{DoxyCompactList}\small\item\em Vector from center point of meteor shower to starting Y point at the movement of meteor shower. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Meteor shower game object. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_meteor_shower_a81b86d2d93e6508aeeed16180a746228}{
\index{MeteorShower@{MeteorShower}!MeteorShower@{MeteorShower}}
\index{MeteorShower@{MeteorShower}!MeteorShower@{MeteorShower}}
\subsubsection[{MeteorShower}]{\setlength{\rightskip}{0pt plus 5cm}MeteorShower::MeteorShower (
\begin{DoxyParamCaption}
\item[{int}]{ frame, }
\item[{bool}]{ rewindEnabled, }
\item[{FPtype}]{ startTime, }
\item[{FPtype}]{ startRadius, }
\item[{FPtype}]{ radiusChange}
\end{DoxyParamCaption}
)}}
\label{class_meteor_shower_a81b86d2d93e6508aeeed16180a746228}


Constructs meteor shower. 

{\itshape frame\/} Current frame number. When the \hyperlink{class_game_object}{GameObject} was created.

{\itshape rewindEnabled\/} Is the rewind mode enabled.

{\itshape startTime\/} Start time of meteor shower drawing.

{\itshape startRadius\/} Start radius of the meteor shower.

{\itshape radiusChange\/} Change of radiusChange when flying by. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
meteorshower.h\item 
meteorshower.cpp\end{DoxyCompactItemize}
